import { CommonStore } from "@/api/common/types";
import { constantRoutes } from "@/router/routes";
import { defineStore } from "pinia";
const useCommonStore = defineStore("Common", {
  state: (): CommonStore => {
    return {
      token: "",
      routeRecordRaw: constantRoutes,
      username: "",
      avatar: "",
      buttons: [],
    };
  },
  actions: {},
  getters: {},
});
export default useCommonStore;
